x = float(input("请输入一个浮点数；\n"))
y = int(input("请输保留小数位；\n"))
print(round(x,y))
